package com.mode.proxy.pattern;

/**
 * @Description:
 * @Author: zyf
 * @Time: 2020/9/27 15:09
 */
public class CglibTestMain {


    public static void main(String[] args) {
        Airplane airplane = new Airplane();

        Airplane proxyInstance = (Airplane) new ProxyFactory(airplane).getProxyInstance();
        proxyInstance.go();
    }
}
